<!DOCTYPE html>
<html>

<head>
    <meta http-equiv="Content-Type" content="text/html;charset=utf-8">
    <title>Chap2 Demo Gasket Point</title>
    <script id="vertex-shader" type="x-shader/x-vertex">
	attribute vec4 vPosition;
	void main(){
		gl_PointSize = 3.0;
		gl_Position = vPosition;
	}
	</script>

    <script id="fragment-shader" type="x-shader/x-fragment">
	precision mediump float;
	void main(){
		gl_FragColor = vec4( 1.0, 0.0, 0.0, 1.0 );
	}
	</script>

    <script type="text/javascript" src="./jsfile/webgl-utils.js"></script>
    <script type="text/javascript" src="./jsfile/initShaders.js"></script>
    <script type="text/javascript" src="./jsfile/gl-matrix-min.js"></script>

    <script type="text/javascript" src="./jsfile/demo1.js"></script>
</head>

<body>
    <h2>Gasket Points</h2>
    <canvas id="gl-canvas" width="512" height="512">你的浏览器不支持HTML5 canvas元素</canvas>
</body>

</html>